<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

</body>
</html>
<script>
  /*房卓文*/
  class Queue {
    constructor() {
      this.stack = []
    }

    push(x) {
      this.stack.push(x)
    }

    shift() {
      this.stack.shift()
    }
  }
  // 测试代码
</script>
